//
//  GroupItem.h
//  ChangChat
//
//  Created by Cocoa on 2019/10/11.
//  Copyright © 2019 yibai. All rights reserved.
//

#import "YBBaseItem.h"

NS_ASSUME_NONNULL_BEGIN

@interface GroupItem : YBBaseItem

@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, copy) NSString *createtime;
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, strong) NSArray *all_users_id;
///管理员 1：是
@property (nonatomic, assign) BOOL manager;
///  禁言 0：非 1: 是 
@property (nonatomic, assign) BOOL shutup;
///  免打扰 0:未开启 1:开启
@property (nonatomic, assign) BOOL no_disturb;
@property (nonatomic, copy) NSString *friend_id;
@property (nonatomic, copy) NSString *group_id;
@property (nonatomic, assign) BOOL status;

@property (nonatomic, strong) NSArray<FriendItem *> *group_users;

- (NSString *)getGroupCardJson;

@end

NS_ASSUME_NONNULL_END
